home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Musik / Misc / Amster / Source / include / mui.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-01  |  902 b   |  39 lines

  1. /*
  2. ** MUI Helper Header of MadCat!
  3. */
  4.  
  5. #ifndef AMSTER_MUI_H
  6. #define AMSTER_MUI_H
  7.  
  8. #include <proto/exec.h>
  9. #include <proto/utility.h>
  10. #include <proto/intuition.h>
  11. #include <proto/muimaster.h>
  12. #include <libraries/mui.h>
  13. #include <clib/alib_protos.h>
  14.  
  15. #define MUIM_Window_Cleanup       0x8042ab26 /* Custom Class */ /* V18 */
  16. #define MUIM_Window_Setup         0x8042c34c /* Custom Class */ /* V18 */
  17.  
  18. #define MAKE_ID(a,b,c,d) ((ULONG) (a)<<24 | (ULONG) (b)<<16 | (ULONG) (c)<<8 | (ULONG) (d))
  19. #define REG(x) register __ ## x
  20. #define MUIF __saveds ULONG __asm
  21.  
  22. ULONG __stdargs DoSuperNew(struct IClass *cl,Object *obj,ULONG tag1,...);
  23.  
  24. typedef struct muimsg_struct {
  25.     ULONG MethodID;
  26.     ULONG *arg1;
  27.     ULONG *arg2;
  28.     ULONG *arg3;
  29.     ULONG *arg4;
  30. } *muimsg;
  31.  
  32. Object *maketmenu(const UBYTE *msg);
  33. Object *makemenu(const UBYTE *msg);
  34. Object *maketoggle(const UBYTE *msg, Object **tog);
  35.  
  36.  
  37.  
  38. #endif    /* AMSTER_MUI_H */
  39.